/*******************************************************************/
/* @ All Rights Reserved Copyright (C) 2014 broada,Co.,Ltd.        */
/*                                                                 */
/*  NAME      = wtc_tfmh.h                                         */
/*  NOTE      =                                                    */
/*  DATE      = 2015/08/13 by songbb                               */
/*******************************************************************/

#ifndef __WTC_TFMH_H_
#define __WTC_TFMH_H_

typedef enum __em_trans_type {
    TRANS_BEGIN = 1,
    TRANS_COMMIT,
    TRANS_ROLLBACK,
    TRANS_SUSPEND,
    TRANS_RESUME
} Trans_type;

int wtc_tfmh_dom(Conntrack *p_st_conn
                , L7session_wtc *p_st_sess
                , L7_wtc_packet *p_st_wtc_packet
                , Frhash_header *p_st_hash_report);

int wtc_tfmh(Conntrack *p_st_conn
            , Apm_packet *p_analyze_in
            , L7session_wtc *p_st_sess
            , L7_wtc_packet *p_st_wtc_packet
            , Frhash_header *p_st_hash_report);

int wtc_tfmh_fad(char *p_payload
                , unsigned int ui_payload_len
                , int *p_i_direction);

#endif
